export default {
  input: 'src/index.js',
  output: [
    {
      file: "dist/bundle.cjs.js",
      format: "cjs", //node和browserify/webpack
      name: 'MicroApp'
    },
    {
      file: "dist/bundle.esm.js",
      format: "es",  //通过script type=module引入
      name: 'MicroApp'
    },
    {
      file: "dist/bundle.umd.js",
      format: "umd",  //通过script 直接引入
      name: 'MicroApp'
    },
  ],
}